<?php
if(!defined('IN_WOGU')) {
	exit('Access Denied');
}

class MemberCookie
{
	static public function userid() {
		$userid = get_cookie('userid');
		if(is_numeric($userid)) {
			return $userid;
		}
		
		return '';
	}
	
	static public function username() {
		$username = get_cookie('username');
		if(is_username($username)) {
			return $username;
		}
		
		return '';
	}
	
	static public function qq() {
		return get_cookie('qq');
	}
	
	static public function weibo() {
		return get_cookie('weibo');
	}
	
	static public function qqweibo() {
		return get_cookie('qqweibo');
	}
	
	static public function taobao() {
		return get_cookie('taobao');
	}
	
	static public function appweibo() {
		return get_cookie('appweibo');
	}
	
	static public function apptaobao() {
		return get_cookie('apptaobao');
	}
}